package com.it.emall.service.impl;

import com.it.emall.domain.Recipes;
import com.it.emall.mapper.RecipeMapper;
import com.it.emall.service.RecipesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 食谱service
 */
@Service
public class RecipesServiceImpl implements RecipesService {



    @Autowired
    private RecipeMapper recipeMapper;
    @Override
    public List<Recipes> selectRecipesList(Integer recipesId, String name) {
        return recipeMapper.selectRecipes(recipesId,name);
    }
}
